package com.hongshu.system.api;

import com.hongshu.common.core.constant.ServiceNameConstants;
import com.hongshu.common.core.domain.R;
import com.hongshu.system.api.factory.RemoteChatFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 闲宝服务
 *
 * @author hongshu
 */
@FeignClient(contextId = "remoteChatService", value = ServiceNameConstants.CHAT_SERVICE, fallbackFactory = RemoteChatFallbackFactory.class)
public interface RemoteChatService {

    @GetMapping(value = "/statistics/index/gptModel")
    R<?> getGptModelCount();

}
